<?php

/**
 * 阿里云的短信服务平台
 * 1. 获取access 信息: https://ram.console.aliyun.com/manage/ak
 * 2. 配置短息服务: https://dysms.console.aliyun.com/dysms.htm#/domestic/text/template
 */

return [
    "accessKeyId" => "LTAI4GHCGUsBKSxWZpYAsYwW",
    "accessSecret" => "VU54Mt3hMGU38ydzrtB5HA3V6XTwxt",
    "regionId" => "cn-hangzhou", // 短信服务地区
    "product" => "Dysmsapi",
    "scheme" => "",
    "version"=> "2017-05-25", // jdk版本号
    "action"=> "SendSms", //短信发送方式
    "method"=> "POST",  // 发送方式
    "host"=> "dysmsapi.aliyuncs.com",
    "options" => [
        'query' => [
            'RegionId' => "cn-hangzhou", //短信服务注册的服务区域
            'PhoneNumbers' => "", //发送的电话号码
            'SignName' => "Dl直播", //签名名称
            'TemplateCode' => "SMS_187936719",// 模版CODE
            'TemplateParam' => "{\"code\": \"12345\"}", // 短信模板变量对应的实际值，JSON格式。
        ],
    ],
];